package dao;

import entity.Card;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CardDao {
    List<Card> selectList(@Param("startIndex") int startIndex, @Param("pageSize") int pageSize);
    int selectListSize();
    int add(Card card);
    int update(@Param("id") Integer id,@Param("status") Integer status);
    int delete(@Param("id") Integer id);
}
